/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_prod_acc_nbr_type.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_PROD_ACC_NBR_TYPE
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_prod_acc_nbr_type.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h" 


CTable_PPM_PROD_ACC_NBR_TYPE::CTable_PPM_PROD_ACC_NBR_TYPE( )
 :NPCRecordSet( )
{
  setTableName( "PPM_PROD_ACC_NBR_TYPE" );
  prepareTable();
  prepareQuery();
 
  PROD_ACC_NBR_TYPE_ID.setField( "PROD_ACC_NBR_TYPE_ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( PROD_ACC_NBR_TYPE_ID );
  makeKeyItem( PROD_ACC_NBR_TYPE_ID ); 
  ACC_NBR_TYPE_CD.setField( "ACC_NBR_TYPE_CD", DATA_DOUBLE, 22, 0 );
  makeTableItem( ACC_NBR_TYPE_CD );
  PRODUCT_ID.setField( "PRODUCT_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( PRODUCT_ID );
}


CTable_PPM_PROD_ACC_NBR_TYPE::CTable_PPM_PROD_ACC_NBR_TYPE( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_PROD_ACC_NBR_TYPE" );
  prepareTable();
  prepareQuery();
 
  PROD_ACC_NBR_TYPE_ID.setField( "PROD_ACC_NBR_TYPE_ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( PROD_ACC_NBR_TYPE_ID );
  makeKeyItem( PROD_ACC_NBR_TYPE_ID ); 
  ACC_NBR_TYPE_CD.setField( "ACC_NBR_TYPE_CD", DATA_DOUBLE, 22, 0 );
  makeTableItem( ACC_NBR_TYPE_CD );
  PRODUCT_ID.setField( "PRODUCT_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( PRODUCT_ID );
}

CTable_PPM_PROD_ACC_NBR_TYPE::~CTable_PPM_PROD_ACC_NBR_TYPE( )
{
    close();
}

